package com.e1xp.deport_management_system.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author E1xP
 * @since 2021-04-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class ProductRack implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("product_id")
    private Long productId;

    @TableId("rack_id")
    private Long rackId;

    private Integer count;

    @TableId("instance_id")
    private Long instanceId;

}
